package test;

import java.util.Scanner;

public class test1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);

        int h1=sc.nextInt();
        int h2=sc.nextInt();
        int h3=sc.nextInt();
        int max=h1>h2?h1:h2;
        System.out.println(max>h3?max:h3);
    }
}
